package com.intel.two.mapper.buildingMapper;

import com.intel.two.pojo.building.Equipment;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface EquipmentMapper {
    List<Equipment> equipmentPageData(Map<String, Object> params);

    int addEquipment(Equipment equipment);

    int deleteEquipment(Integer id);

    int updateEquipment(Equipment equipment);

    int deleteEquipments(List<Integer> list);

}
